<!-- Copyright (C) 2012-2025 Zammad Foundation, https://zammad-foundation.org/ -->
<script setup lang="ts">
import { useForceDesktop } from '#shared/composables/useForceDesktop.ts'

defineProps<{
  data?: { token?: string }
}>()

defineEmits<{
  redirect: [url: string]
}>()

const { forceDesktop } = useForceDesktop()
</script>

<template>
  <div class="bg-red my-1 rounded-xl px-4 py-2 text-center text-white">
    <p>{{ $t('The two-factor authentication is not configured yet.') }}</p>
    <CommonLink link="/#" class="text-white underline" @click="forceDesktop">
      {{ $t('Click here to set up a two-factor authentication method.') }}
    </CommonLink>
  </div>
</template>
